package com.hzw.rest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ToController {
    @RequestMapping("/")
    public String toIndex() {
        return "index";
    }

    @RequestMapping("/toLogin")
    public String tolLogin() {
        return "login";
    }

    @RequestMapping("/toOk")
    public String tolOk() {
        return "ok";
    }

    @RequestMapping("/toAdminLogin")
    public String toAdminLogin() {
        return "admin_login";
    }

    @RequestMapping("/toAdminIndex")
    public String toAdminIndex() {
        return "admin_index";
    }

    @RequestMapping("/toAdminList")
    public String toAdminList() {
        return "admin_list";
    }

    @RequestMapping("/toAdminAdd")
    public String toAdminAdd() {
        return "admin_add";
    }

    @RequestMapping("/toUserList")
    public String toUserList() {
        return "user_list";
    }

    @RequestMapping("/toCommodityType")
    public String toCommodityType() {
        return "commodity_type";
    }

    @RequestMapping("/toUserUpdate")
    public String toUserUpdate() {
        return "user_update";
    }

    @RequestMapping("/toCommodityIndex")
    public String toCommodityIndex() {
        return "commodity_index";
    }

    @RequestMapping("/toCommodityTypeUpdate")
    public String toCommodityTypeUpdate() {
        return "commodity_type_update";
    }

    @RequestMapping("/toCommodityTypeAdd")
    public String toCommodityTypeAdd() {
        return "commodity_type_add";
    }

    @RequestMapping("/toCommodityAdd")
    public String toCommodityAdd() {
        return "commodity_add";
    }

    @RequestMapping("/toUserShowIndex")
    public String toUserShowIndex() {
        return "user_show_index";
    }

    @RequestMapping("/toAdminUpdate")
    public String toAdminUpdate() {
        return "admin_update";
    }

    @RequestMapping("/toShoppingCar")
    public String toShoppingCar() {
        return "shopping_car";
    }

    @RequestMapping("/toCommodityList")
    public String toCommodityList() {
        return "commodity_list";
    }

    @RequestMapping("/toCommodityUpdate")
    public String toCommodityUpdate() {
        return "commodity_update";
    }

    @RequestMapping("/toServices")
    public String toServices() {
        return "services";
    }

    @RequestMapping("/toGallery")
    public String toGallery() {
        return "gallery";
    }

    @RequestMapping("/toAbout")
    public String toAbout() {
        return "about";
    }

    @RequestMapping("/toOurmenu")
    public String toOurmenu() {
        return "ourmenu";
    }

    @RequestMapping("/toContact")
    public String toContact() {
        return "contact";
    }

    @RequestMapping("/toUserReserve")
    public String toUserReserve() {
        return "user_reserve";
    }

    @RequestMapping("/toUserMyReserve")
    public String toUserMyReserve() {
        return "user_my_reserve";
    }

    @RequestMapping("/toAdminReserve")
    public String toAdminReserve() {
        return "admin_reserve";
    }
    @RequestMapping("/toAdminReserveAdd")
    public String toAdminReserveAdd() {
        return "admin_reserve_add";
    }

    @RequestMapping("/toUserOrderList")
    public String toUserOrderList() {
        return "user_order_list";
    }
    @RequestMapping("/toUserOrderDetail")
    public String toUserOrderDetail() {
        return "user_order_detail";
    }

    @RequestMapping("/toAdminOrderDetail")
    public String toAdminOrderDetail() {
        return "admin_order_detail";
    }

    @RequestMapping("/toAdminOrderList")
    public String toAdminOrderList() {
        return "admin_order_list";
    }

    @RequestMapping("/toUserInfoUpdate")
    public String toUserInfoUpdate() {
        return "user_info_update";
    }

    @RequestMapping("/toAdminChangePassword")
    public String toAdminChangePassword() {
        return "admin_change_password";
    }

}